package ch06.test2.service.impl;

import ch06.test2.service.UserService;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {
    @Override
    public void show() {
        System.out.println("使用注解实现依赖注入");
    }
}
